/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.emergency.domain;

import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "应急机构人员",description = "应急机构人员实体类")
public class EmergencyInstitutionsStaff extends BaseEntity {

    @ApiModelProperty(name = "institutionsId",value = "所在机构id",required = true)
    private String institutionsId;

    @ApiModelProperty(name = "role",value = "机构角色",required = true)
    private String role;

    @ApiModelProperty(name = "staffCode",value = "人员code",required = true)
    private String staffCode;

    @ApiModelProperty(name = "staffName",value = "人员名称",required = true)
    private String staffName;

    @ApiModelProperty(name = "departmentCode",value = "单位code",required = true)
    private String departmentCode;

    @ApiModelProperty(name = "departmentName",value = "单位名称",required = true)
    private String departmentName;

    @ApiModelProperty(name = "mobile",value = "联系电话")
    private String mobile;

    @ApiModelProperty(name = "dutyDescription",value = "职责描述",required = true)
    private String dutyDescription;

    @ApiModelProperty(name = "isLeader",value = "是否领导",required = true)
    private Integer isLeader;

    @ApiModelProperty(name = "staffIndex",value = "排序")
    private Integer staffIndex;

    public String getInstitutionsId() {
        return institutionsId;
    }

    public void setInstitutionsId(String institutionsId) {
        this.institutionsId = institutionsId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getStaffCode() {
        return staffCode;
    }

    public void setStaffCode(String staffCode) {
        this.staffCode = staffCode;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getDutyDescription() {
        return dutyDescription;
    }

    public void setDutyDescription(String dutyDescription) {
        this.dutyDescription = dutyDescription;
    }

    public Integer getIsLeader() {
        return isLeader;
    }

    public void setIsLeader(Integer isLeader) {
        this.isLeader = isLeader;
    }

    public Integer getStaffIndex() {
        return staffIndex;
    }

    public void setStaffIndex(Integer staffIndex) {
        this.staffIndex = staffIndex;
    }

    @Override
    public String toString() {
        return "EmergencyInstitutionsStaff{" +
                "institutionsId='" + institutionsId + '\'' +
                ", role='" + role + '\'' +
                ", staffCode='" + staffCode + '\'' +
                ", staffName='" + staffName + '\'' +
                ", departmentCode='" + departmentCode + '\'' +
                ", departmentName='" + departmentName + '\'' +
                ", mobile='" + mobile + '\'' +
                ", dutyDescription='" + dutyDescription + '\'' +
                ", isLeader=" + isLeader +
                ", staffIndex=" + staffIndex +
                '}';
    }
}
